package com.jenkinstest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;

@SpringBootApplication
public class JenkinsTestApplication {
    private static final Logger log = LoggerFactory.getLogger(JenkinsTestApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(JenkinsTestApplication.class, args);
    }

    @PostConstruct
    public void init() {
        log.info("成功...");
        System.out.println("成功..");
    }


}
